<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加危险化学品</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__LAYUI__/css/layui.css" media="all">
  <link rel="stylesheet" href="__CSS__/common/layui.form.css" media="all">
</head>
<body>
    <div class="layui-container">
        <form class="layui-form layui-clear" action="{:url('basic/chemical/add')}" method="post" id="unitForm">
          
			<div class="layui-form-item">
				<label class="layui-form-label">所属企业</label>
				<div class="layui-input-block">
					<select name="enterpriseId">
						<option value=""></option>
						{volist name="enterpriseList" id="item"}
						<option value="{$key}">{$item}</option>
						{/volist}
						
					</select>
				</div>
			</div>          
            <div class="layui-form-item">
                <div class="layui-inline col-3">
                    <label class="layui-form-label">中文名称&nbsp;<i class="layui-icon arrow">&#xe642;</i></label>
                    <div class="layui-input-inline resc-code" data-resc="">
                        <input class="layui-input demand" name="chineseName" data-set="chineseName" type="text" lay-verify="required" placeholder="请输入中文名称" />
                    </div>
                </div>
                <div class="layui-inline col-3">
                    <label class="layui-form-label">英文名称&nbsp;<i class="layui-icon arrow">　</i></label>
                    <div class="layui-input-inline">
                        <input class="layui-input demand" name="EnglishName" data-set="EnglishName" type="text" placeholder="请输入英文名称" />
                    </div>
                </div>

           		<div class="layui-inline col-3">
	                 <label class="layui-form-label">化学式&nbsp;<i class="layui-icon arrow">　</i></label>
	                 <div class="layui-input-inline">
	                     <input class="layui-input demand" name="formula" data-set="formula" type="text" placeholder="请输入简称" />
	                 </div>
                </div>
             </div>
			 <div class="layui-form-item">
	             <div class="layui-inline col-3">
		             <label class="layui-form-label">cas号&nbsp;<i class="layui-icon arrow">　</i></label>
		             <div class="layui-input-inline">
		                  <input class="layui-input demand" name="casCode" data-set="casCode" type="text" placeholder="请输入简称" />
		             </div>
	             </div>


                 <div class="layui-inline col-3">
	                  <label class="layui-form-label">密度(kg/m3)&nbsp;<i class="layui-icon arrow"></i></label>
	                  <div class="layui-input-inline">
	                      <input class="layui-input demand" name="density" data-set="density" type="text" placeholder="请输入简称" />
	                  </div>
                 </div>

                 <div class="layui-inline col-3">
	                   <label class="layui-form-label">燃点(℃)&nbsp;<i class="layui-icon arrow"></i></label>
	                   <div class="layui-input-inline">
	                       <input class="layui-input demand" name="ignitionTemperature" data-set="ignitionTemperature" type="text" placeholder="请输入简称" />
	                   </div>
               	 </div>
			  </div>
 			  <div class="layui-form-item">
                 <div class="layui-inline col-3">
	                  <label class="layui-form-label">燃烧热(J/kg)&nbsp;<i class="layui-icon arrow"></i></label>
	                  <div class="layui-input-inline">
	                      <input class="layui-input demand" name="heatCombustion" data-set="heatCombustion" type="text" placeholder="请输入简称" />
	                  </div>
                 </div>


             	 <div class="layui-inline col-3">
	                  <label class="layui-form-label">常温状态&nbsp;<i class="layui-icon arrow">&#xe642;</i></label>
	                  <div class="layui-input-inline">
	                      <select class="selector" name="state" lay-verify="required" >
	                          
	                          <option value="0">请选择</option>
	                          <option value="1">固体</option>
	                          <option value="2">液体</option>
	                          <option value="3">气体</option>
	                      </select>
	                  </div>
                  </div>

                  <div class="layui-inline col-3">
	                    <label class="layui-form-label">类型&nbsp;<i class="layui-icon arrow">&#xe642;</i></label>
	                    <div class="layui-input-inline">
	                        <select class="selector" name="typeId" lay-verify="required" >
	                            <option value="0">请选择</option>
	                           {volist name="type" id="vo" key="k" }
	                            <option value="{$k}">{$vo}</option>
	                           {/volist}
	                        </select>
	                    </div>
                   </div>
            	</div>


			<div class="layui-form-item">

				 <div class="layui-inline col-3">
					 <label class="layui-form-label">重点监管</label>
					 <div class="layui-input-inline">
						<input type="checkbox" checked="" name="is_supervised" lay-skin="switch"  lay-text="是|否">
					 </div>
				 </div>
				 
				<div class="layui-inline col-3">
					<label class="layui-form-label">主物料产品</label>
					 <div class="layui-input-inline">
						<input type="checkbox" checked="" name="is_major" lay-skin="switch"  lay-text="是|否">
					 </div>
				</div>

                     
            </div>
            	<!--第4行-->
	            <div class="layui-form-item layui-form-text">
	                <label class="layui-form-label">化学特征&nbsp;<i class="layui-icon arrow">　</i></label>
	                <div class="layui-input-block">
	                    <textarea class="layui-textarea" name="character" data-set="character" placeholder="请输入化学特征"></textarea>
	                </div>
	            </div>
	            <div class="layui-form-item layui-form-text">
	                <label class="layui-form-label">消防措施&nbsp;<i class="layui-icon arrow">　</i></label>
	                <div class="layui-input-block">
	                    <textarea class="layui-textarea" name="outfireMeasure" data-set="outfireMeasure" placeholder="请输入消防措施" ></textarea>
	                </div>
	            </div>
	            <div class="layui-form-item layui-form-text">
	                <label class="layui-form-label">泄漏措施&nbsp;<i class="layui-icon arrow">　</i></label>
	                <div class="layui-input-block">
	                    <textarea class="layui-textarea" name="releaseMeasure" data-set="releaseMeasure" placeholder="请输入泄漏措施" ></textarea>
	                </div>
	            </div>
	
	            <div class="layui-form-item layui-form-text">
	                <label class="layui-form-label">储存方法&nbsp;<i class="layui-icon arrow">　</i></label>
	                <div class="layui-input-block">
	                    <textarea class="layui-textarea" name="storage" data-set="storage" placeholder="请输入储存方法" ></textarea>
	                </div>
	            </div>
	
	            <div class="layui-form-item layui-form-text">
	                <label class="layui-form-label">备注&nbsp;<i class="layui-icon arrow">　</i></label>
	                <div class="layui-input-block">
	                    <textarea class="layui-textarea" name="remark" data-set="remark" placeholder="请输入备注" ></textarea>
	                </div>
	            </div>

	 			 <div class="layui-form-item">
                 	<div class="layui-input-block">
                         <button class="layui-btn btn-green" id="save" lay-submit lay-filter="save">保 存 </button>
                         <button class="layui-btn layui-btn-primary" type="reset">重 置</button>
                    </div>
	           	</div>
        </form>
    </div>  
    <script type="text/javascript" src="__LAYUI__/layui.js"></script>
    <script type="text/javascript" src="__JS__/service/chemical.js"></script>
       

</body>
</html>     

<script>

</script>      

